//
// Created on 2025/2/24.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef XCOMPONENT_SOAPI_H
#define XCOMPONENT_SOAPI_H

// SOApi.h
#include <iostream>
#include "aki/jsbind.h"


class SOApi {
public:
    void test();
    virtual void someMethod(int a) {
        std::cout << "SOApi: Method with int: " << a << std::endl;
    }

    virtual void someMethod(double a) {
        std::cout << "SOApi: Method with double: " << a << std::endl;
    }
    
//    virtual void set(napi_env *env){
//        
//    }
    virtual ~SOApi() {}
};


#endif //XCOMPONENT_SOAPI_H
